﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Skynet.BusinessEntities;

namespace Skynet.BusinessLogic.DataAccess
{
    public interface ICustomerRepository 
    {
        void Add(Customer item);
        void Add(IEnumerable<Customer> items);
        void Update(Customer item);
        void Update(IEnumerable<Customer> items);
        void Delete(Customer item);
        void Delete(IEnumerable<Customer> items);
        Customer GetOne(object key);
        IEnumerable<Customer> GetAll();

        Customer GetOneByUserName(string UserName);


    }
}
